package com.chat.demo.userservice.DTO.message;

import lombok.Data;

import java.time.OffsetDateTime;

@Data
public class MessageDTO {
    private Long messageId;
    private Long senderId;
    private String receiverType; // 'user' or 'room'
    private Long receiverId;
    private String content;
    private OffsetDateTime sentAt;
    private String status; // 'sent', 'delivered', 'read'

    // Getters and Setters
}